{extend name="base" /}
{block name="main"}
<div class="col-md-10">
    <div class="card">
        <div class="card-body">
            <img class="img-fluid" src="http://img.chinahpsy.com/web/14330.jpg!1920_650" alt="Chania" style="width: 600px;height: 200px;">
            {volist name="res" id="vo"}
            <form>
                <div class="form-group">
                    <label for="text">公司电话:</label>
                    <input type="text" class="form-control border-top-0 border-right-0 border-left-0" id="email" value="{$vo.company_phone}" name="company_name"
                         required>
                </div>
                <div class="form-group">
                    <label for="text">公司名:</label>
                    <input type="text" class="form-control border-top-0 border-right-0 border-left-0" id="email" value="{$vo.company_name}" name="company_name"
                         required>
                </div>
                <div class="form-group">
                    <label for="text">地址:</label>
                    <input type="text" class="form-control border-top-0 border-right-0 border-left-0" id="email" value="{$vo.company_site}" name="company_site"
                         required>
                </div>
                <div class="form-group">
                    <label for="text">官网:</label>
                    <input type="text" class="form-control border-top-0 border-right-0 border-left-0" id="email" value="{$vo.company_www}" name="company_www"
                         required> 
                </div>
                <div class="form-group">
                    <label for="text">邮箱:</label>
                    <input type="email" class="form-control border-top-0 border-right-0 border-left-0" id="email" value="{$vo.company_email}" name="company_email"
                         required>
                </div>
                <div class="form-group">
                    <label for="text">简介:</label>
                    <textarea class="form-control" rows="5" id="comment" value="{$vo.company_info}">{$vo.company_info}</textarea>
                </div>
                <div class="form-group">
                    <div class="custom-file">
                        <input type="file" class="custom-file-input" id="customFile">
                        <label class="custom-file-label" for="customFile">选择海报</label>
                    </div>
                </div>
                
                <button type="submit" class="btn btn-primary">修改</button>
            </form>
            {/volist}
        </div>
    </div>
</div>
{/block}